package com.project.rbac.service.impl;

import com.project.rbac.entity.SysUser;
import com.project.rbac.mapper.SysUserMapper;
import com.project.rbac.service.ISysUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author nickBoy
 * @since 2021-06-15
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {

    @Autowired
    private SysUserMapper sysUserMapper;

    @Override
    public List<SysUser> findAllUser() {
        return this.sysUserMapper.findAllUser();
    }

}
